class Student(object):
    def __init__(self, name, score):
        self.name = name
        self.score = score
    def __str__(self):
        return '(%s: %s)' % (self.name, self.score)
    __repr__ = __str__

# L = [Student('Tim', 99), Student('Bob', 88), Student('Alice', 77)]
# print(str(sorted(L)))
a1 = Student('tom',9)
a2 = Student('alice',32)
print(a1 > a2 )
